projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15095a
)
Zero alt if unknown. COrrects problem in Topo 3.0 that isn't seen in 4.20d
author
robertl
<robertl>
Sun, 8 Feb 2004 03:38:50 +0000
(
03:38
+0000)
committer
robertl
<robertl>
Sun, 8 Feb 2004 03:38:50 +0000
(
03:38
+0000)
or DR.
mapsend.c
patch
|
blob
|
history
diff --git
a/mapsend.c
b/mapsend.c
index d4f7d6e60c757fa25aa632a032f2f39cd5f0b34e..1feecd5e87b040d1b0cee1c6fd166b8401e162bb 100644
(file)
--- a/
mapsend.c
+++ b/
mapsend.c
@@
-360,6
+360,8
@@
mapsend_waypt_pr(const waypoint *waypointp)
fwrite(&c, 1, 1, mapsend_file_out);
falt = waypointp->altitude;
+ if (falt == unknown_alt)
+ falt = 0;
my_fwrite8(&falt, mapsend_file_out);
flong = waypointp->longitude;